

<?php 
 $id_lich=$_POST["id_lich"];

include_once($_SERVER['DOCUMENT_ROOT'].'/wp-load.php' );

global $wpdb;

$query="
DELETE FROM wp_lich WHERE id_lich =".$id_lich	;

$wpdb->query($query)or die(mysql_error());
//echo $query;

echo "3";
return;

